<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="../scripts/itsm/user/registerUserMain.js"></script>
</head>
<body>

<div>
<form id="registerUserMain_search_form">	
	<table>
		<tr>
			<td>账号</td>
			<td><input name="registerUserQueryDTO.loginName" class="input" /></td>
			
			<td>姓名</td>
			<td><input name="registerUserQueryDTO.userName" class="input" /></td>
			<td>位置</td>
			<td><input name="registerUserQueryDTO.registerLocation" class="input" /></td>
		</tr>
		<tr>
			<td>推荐人</td>
			<td><input name="registerUserQueryDTO.recommendUser" class="input" /></td>
			<td>电话</td>
			<td><input name="registerUserQueryDTO.phone" class="input" /></td>
			<td>QQ</td>
			<td><input name="registerUserQueryDTO.qq" class="input" /></td>
			<td>Email</td>
			<td><input name="registerUserQueryDTO.email" class="input" /></td>
		</tr>
		<tr>
			<td>用户状态</td>
			<td>
				<select name="registerUserQueryDTO.status">
					<option value="">--请选择--</option>
					<option value="Activation">已激活</option>
					<option value="NotActivation">未激活</option>
					<option value="unfinished">未完善</option>
				</select>
			</td>
			<td>级别</td>
			<td>
				<select name="registerUserQueryDTO.registerLevel">
					<option value="">--请选择--</option>
					<option value="L1">L1</option>
					<option value="L2">L2</option>
					<option value="L3">L3</option>
					<option value="L4">L4</option>
					<option value="L5">L5</option>
					<option value="L6">L6</option>
				</select>
			</td>
			<td colspan="4">
				<a class="easyui-linkbutton" icon="icon-save" href="javascript:itsm.user.registerUserMain.searchRegisterUser()">搜索</a>
			</td>
		</tr>
	</table>
	</form>


</div>


<div id="registerUserMainGridToolbar" style="padding: 0px;display: none;">
<!--  
&nbsp;<a onclick="itsm.registerUser.registerUserMain.openAddWin()" class="easyui-linkbutton" id="registerUserMainGrid_add" icon="icon-add" plain="true">添加</a>-->

<a onclick="itsm.user.registerUserMain.openEditWin()" class="easyui-linkbutton" id="registerUserMainGrid_edit" icon="icon-edit" plain="true">修改</a>
<c:if test="${systemUser.userRole eq 'admin1'}">
<a onclick="itsm.user.registerUserMain.deleteRegisterUser()" class="easyui-linkbutton" id="registerUserMainGrid_del" icon="icon-cancel" plain="true">删除</a>
</c:if>
<!--  <a onclick="itsm.user.registerUserMain.openSearchWin()" class="easyui-linkbutton" id="registerUserMainGrid_search" icon="icon-search" plain="true">搜索</a>

<a onclick="itsm.user.registerUserMain.openUpdateAccount()" class="easyui-linkbutton" icon="icon-edit" plain="true">修改账号</a>-->
<a onclick="itsm.user.registerUserMain.changePassword()" class="easyui-linkbutton" icon="icon-edit" plain="true">修改账号密码</a>
<!-- <a onclick="itsm.user.registerUserMain.openOrCloseDeclarationCenter()" class="easyui-linkbutton" icon="icon-edit" plain="true">开通运营中心</a> -->
<!--  
<a onclick="itsm.user.registerUserMain.openRechargeWin()" class="easyui-linkbutton" icon="icon-edit" plain="true">账户充值</a>-->

<a onclick="itsm.user.registerUserMain.changeUserStatus('1')" class="easyui-linkbutton" icon="" plain="true">冻结账号</a>
<a onclick="itsm.user.registerUserMain.changeUserStatus('0')" class="easyui-linkbutton" icon="" plain="true">解冻账号</a>
</div>
<table id='registerUserMainGrid'></table>
<div id='registerUserMainPager'></div>

<%-- 添加、编辑 --%>
<div title="添加/编辑用户 " id="registerUserMain_add_win" class="easyui-window" closed="true" collapsible="false" modal="true" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="registerUserMain_add_form">	
	<input name="registerUserDTO.registerUserId" id="registerUserMain_registerUserId" type="hidden" />
	<table>
		<tr>
			<td>登录名</td>
			<td><input name="registerUserDTO.loginName" id="registerUserMain_loginName"  class="easyui-validatebox input" required="true"/></td>
		</tr>
		<tr>
			<td>姓名</td>
			<td><input name="registerUserDTO.userName" id="registerUserMain_userName"  class="easyui-validatebox input" required="true"/></td>
		</tr>
		<tr>
			<td>银行类型</td>
			<td><input name="registerUserDTO.accountType" id="registerUserMain_accountType"  class="easyui-validatebox input" required="true"/></td>
		</tr>

		<tr>
			<td>银行账户</td>
			<td><input name="registerUserDTO.bankAccount" id="registerUserMain_bankAccount"  class="easyui-validatebox input" /></td>
		</tr>

		<tr>
			<td>邮件地址</td>
			<td><input name="registerUserDTO.email" id="registerUserMain_email"  class="easyui-validatebox input" /></td>
		</tr>

		
		<tr>
			<td>QQ</td>
			<td><input name="registerUserDTO.qq" id="registerUserMain_qq"  class="easyui-validatebox input" /></td>
		</tr>

		<tr>
			<td>推荐人</td>
			<td><input name="registerUserDTO.recommendUser" id="registerUserMain_recommendUser"  class="easyui-validatebox input"/></td>
		</tr>
	<!-- 	<tr>
			<td>修改成“伯爵卡”</td>
			<td>
				<select name="registerUserDTO.registerLevel" id="registerUserMain_registerLevel" >
					<option value="">选择当前不会对级别有任何影响?</option>
					<option value="L6">伯爵卡(选择此项，只对已是"钻石卡"有用)</option>
				</select>
			</td>
		</tr> -->
		<tr>
			<td colspan="2">
				<a class="easyui-linkbutton" icon="icon-save" id="link_registerUser_save" href="javascript:itsm.user.registerUserMain.saveRegisterUser()">保存</a>
			</td>
		</tr>
	</table>
	</form>
</div>

<%-- 搜索  --%>
<div title="玩家搜索 " id="registerUserMain_search_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	
</div>
<%-- 修改用户账号信息  --%>
<div title="修改用户账号信息 " id="registerUserMain_updateAccount_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="registerUserMain_updateAccount_form">
		<input name="accountDTO.accountId" id="registerUserMain_accountId" type="hidden" />
		<table>

			<tr>
				<td>提现钱包:<input name="accountDTO.balance" id="registerUserMain_balance" /></td>
			</tr>
			<tr>
				<td>开户钱包:<input name="accountDTO.accountWallet" id="regUserMain_accountWallet" /></td>
			</tr>
			<tr>
				<td>自动升级钱包:<input name="accountDTO.autoUpgradeWallet" id="regUserMain_autoUpgradeWallet" /></td>
			</tr>
			<tr>
				<td>购股钱包:<input name="accountDTO.purchaseShareWallet" id="regUserMain_purchaseShareWallet" /></td>
			</tr>
			<%-- 
			<tr>
				<td>拥有股:<input name="accountDTO.haveShare" id="registerUserMain_haveShare" /></td>
			</tr>
			<tr>
				<td>手动买入额度:<input name="accountDTO.manualBuyQuota" id="registerUserMain_manualBuyQuota" /></td>
			</tr>
			<tr>
				<td>手动买入额度总数:<input name="accountDTO.manualBuyQuotaTotal" id="registerUserMain_manualBuyQuotaTotal" /></td>
			</tr>
			<tr>
				<td>自动买入额度:<input name="accountDTO.autoBuyQuota" id="registerUserMain_autoBuyQuota" /></td>
			</tr>
			<tr>
				<td>自动买入额度总数:<input name="accountDTO.autoBuyQuotaTotal" id="registerUserMain_autoBuyQuotaTotal" /></td>
			</tr>
			<tr>
				<td>售股利润70%收入:<input name="accountDTO.percentageSeventy" id="registerUserMain_percentageSeventy" /></td>
			</tr>
			<tr>
				<td>售股利润30%收入:<input name="accountDTO.percentageThirty" id="registerUserMain_percentageThirty" /></td>
			</tr>
			--%>
			<tr>
				<td><a href="javascript:itsm.user.registerUserMain.updateAccount()">【保存】</a></td>
			</tr>
		</table>
	</form>
</div>
<%-- 修改玩家账号密码  --%>
<div title="修改玩家账号密码 " id="registerUserMain_changePassword_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="registerUserMain_changePassword_form">
		<input name="registerUserDTO.loginName" id="registerUserMain_changePassword_loginName" type="hidden" />
		<table>

			<tr>
				<td>一级密码:<input name="registerUserDTO.password1" id="registerUserMain_password1" /></td>
			</tr>
			<tr>
				<td>交易密码:<input name="registerUserDTO.password2" id="registerUserMain_password2" /></td>
			</tr>
			<tr>
				<td>问题类型:
				<select name="registerUserDTO.passwordProblem" id="registerUserMain_passwordProblem">
					<option value="我的生日">我的生日</option>
					<option value="我父亲的生日">我父亲的生日</option>
					<option value="我母亲的生日">我母亲的生日</option>
					<option value="我的出生地">我的出生地</option>
					<option value="我喜欢的电影">我喜欢的电影</option>
					<option value="我喜欢的明星">我喜欢的明星</option>
					<option value="您毕业于那一所大学">您毕业于那一所大学</option>
				</select></td>
			</tr>
			<tr>
				<td>答案:<input name="registerUserDTO.passwordAnswer" id="registerUserMain_passwordAnswer" /></td>
			</tr>
			<tr>
				<td><a href="javascript:itsm.user.registerUserMain.changePasswordSave()">【保存】</a></td>
			</tr>
		</table>
	</form>
</div>

<%-- 修改玩家账号密码  --%>
<div title="充值 " id="registerUserMain_recharge_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="registerUserMain_recharge_form">
		<table>

			<tr>
				<td>会员编号:<input name="loginName" id="registerUserMain_loginName" /></td>
			</tr>
			<tr>
				<td>充值金额:<input name="value" id="registerUserMain_sum" /></td>
			</tr>
			
			<tr>
				<td><a href="javascript:itsm.user.registerUserMain.openRechargeOpt()">【充值】</a></td>
			</tr>
		</table>
	</form>
</div>

</body>
</html>